//
//  main.m
//  字符串1
//
//  Created by qianfeng on 15/8/16.
//  Copyright (c) 2015年 qianfeng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XYTest.h"

int main(int argc, const char * argv[]) {
    @autoreleasepool {
        NSString * str1 = [XYTest reveserString:@"djsghlakjdfh"];
        NSLog(@"%@",str1);
        
        NSString * str2 = [XYTest compString:@"aaannnfffhhhttt"];
        NSLog(@"%@",str2);
        
        NSString * str3 = [XYTest sortString:@"dsjfnchxgv"];
        NSLog(@"%@",str3);
        
        NSString * str4 = [XYTest reveserChacter:@"fbkefjhJSHDKJDkjds"];
        NSLog(@"%@",str4);
        
        NSString * str5 = [XYTest replaceString:[NSMutableString stringWithString: @"djfgbnsjdfnjkfd"] betweenStartKey:@"bns" andEndKey:@"jk"];
        NSLog(@"%@",str5);
        
    }
    return 0;
}
